﻿
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
	<title>无标题文档</title>
	<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
<link href="../../css/style.css" rel="stylesheet" type="text/css" />
<link href="../../css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../js/jquery.js"></script>
<script type="text/javascript" src="../../js/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="../../js/select-ui.min.js"></script>
<script type="text/javascript" src="../../editor/kindeditor.js"></script>

<script type="text/javascript">
    KE.show({
        id : 'content7',
        cssPath : './index.css'
    });
  </script>
  
<script type="text/javascript">
$(document).ready(function(e) {

	$(".select3").uedSelect({
		width : 100
	});
});
</script>
</head>

<body class="sarchbody" >
	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li>系统管理</li>
    <li>菜单管理</li>
    
    </ul>
    </div>
    
    <div class="formbody">
    
    
    <div id="usual1" class="usual"> 
    
    
    
    <ul class="seachform1">
    <form action="index.html" method="post">
    <li><label>菜单名称</label><input name="name" type="text" class="scinput1" value=""/></li>
    
  <li><input  type="submit" class="scbtn" value="查询"/>&nbsp;
  </form>
  <input name="" id="add"  type="button" class="scbtn1" value="添加菜单"/></li>
    
    </ul>
    <script type="text/javascript">
$(document).ready(function(){
  $(".scbtn1").click(function(){
  $(".seachform2").fadeIn(200);
  }); 

  $('#sure').click(function(){
	  var nowPage=$('#go').val();
	  if(nowPage!=""){
	  location.href="RoleManagerController/index.do?nowPage="+nowPage;
	  }
  });
  
  $('#add').click(function(){
	  location.href="add.html";
  });
  
 
});

 function del(){
   confirm("确认删除");
 }
</script>
    <table class="tablelist" >
    	<thead>
    	<tr>
        
        <th>序号</th>
        <th>菜单名称</th>
        <th>菜单路径</th>
        <th>创建时间</th>
        <th>状态(启用/未启用)</th>
        <th>操作</th>
        </tr>
        </thead>
        <tbody>
     
        <tr>
       
        <td>1</td>
        <td>系统管理</td>
        <td>无路径</td>
        <td>2016-03-22</td>
       
       
        <td>启用</td>
       
        <td><a href="update.html" class="tablelink">修改</a>  |   
            <a href="javascript:void(0)" onclick="del();return false" class="tablelink"> 删除</a></td>
        </tr> 
      
        <tr>
       
        <td>2</td>
        <td>角色管理</td>
        <td>roleServlet.do</td>
        <td>2016-03-22</td>
        
       
        <td>启用</td>
       
        <td><a href="update.html" class="tablelink">修改</a>  |   
             <a href="javascript:void(0)" onclick="del();return false" class="tablelink"> 删除</a></td>
        </tr> 
        <tr>
       
        <td>3</td>
        <td>用户管理</td>
        <td>userServlet.do</td>
        <td>2016-03-22</td>
        
       
        <td>启用</td>
       
        <td><a href="update.html" class="tablelink">修改</a>  |   
            <a href="javascript:void(0)" onclick="del();return false" class="tablelink"> 删除</a></td>
        </tr> 
        </tbody>
    </table>
    <script type="text/javascript">
    function del(id){
  	  if(confirm("确认删除？")){
  		  location.href="<%=basePath%>RoleManagerController/delete.do?id="+id;
  	  }
    }
    </script>
    <table class="tablelist2">
       <tr>
         <th>共2条记录
        	 当前：1/2页&nbsp;&nbsp;
          <a href="#">首页</a><a href="#">上一页</a><a href="#">下一页</a><a href="#">尾页</a>
         
         &nbsp;&nbsp;跳到:<input type="text" value="" onkeyup="value=value.replace(/[^\d]/g,'')" id="go" class="scinput5" />页 &nbsp;&nbsp;<input type="button" id="sure" class="scbtn5" value="确定"/> &nbsp;&nbsp; &nbsp;&nbsp;
         </th>
       </tr>
    </table>
      
	</div> 
    </div>
</body>

</html>
